package cn.quevo.cube.provide.data.service;

import cn.quevo.common.entity.PageResult;
import cn.quevo.cube.provide.data.entity.CubeModelDataClob;
import cn.quevo.cube.provide.data.entity.query.CubeModelDataClobQuery;

import java.util.Map;

/**
 * 大文本数据记录 Service
 *
 * @author July july_sky@foxmail.com
 * @version 1.0
 * @date 2018/12/11 14:57:55
 * @Copyright 东方浩星（北京）传媒科技有限公司版权所有.All Rights Reserved.
 */
public interface CubeModelDataClobService {

    /**
     * 根据ID获取大文本数据记录
     *
     * @param cubeModelDataClobQuery
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:57:55
     */
    Map<String,Object> getSinge(CubeModelDataClobQuery cubeModelDataClobQuery);

    /**
     * 创建大文本数据记录
     *
     * @param cubeModelDataClob
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:57:55
     */
    Integer create(CubeModelDataClob cubeModelDataClob);

    /**
     * 更新大文本数据记录
     *
     * @param cubeModelDataClob
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:57:55
     */
    Integer update(CubeModelDataClob cubeModelDataClob);

    /**
     * 分页获取大文本数据记录
     *
     * @param cubeModelDataClobQuery
     * @return
     * @author July july_sky@foxmail.com
     * @date 2018/12/11 14:57:55
     */
    PageResult<Map<String,Object>> getPage(CubeModelDataClobQuery cubeModelDataClobQuery);
}
